﻿using Bootstrap.Definition.Concrete;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bootstrap.Data
{
    public class PostData
    {
        public static List<Post> GetPostList()
        {
            var result = new List<Post>();

            result.Add(new Post()
            {

                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });
            result.Add(new Post()
            {
                Title = "FILESTREAM (SQL Server)",
                Category = "SQL",
                ShortDescription = "FILESTREAM enables SQL Server-based applications to store unstructured data, such as documents and images, on the file system. Applications can leverage the rich streaming APIs and performance of the file system and at the same time maintain transactional consistency between the unstructured data and corresponding structured data.",
                ImageUrl = "\\images\\sql.jpg",
            });



            result.Add(new Post()
            {
                Title = "Compiler Error CS0001",
                Category = "CSharp",
                ShortDescription = "Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.Try to determine whether the compiler is failing because of its inability to parse unexpected syntax. If you receive this error repeatedly, please contact Microsoft.",
                ImageUrl = "\\images\\csharp.jpg",
            });

            for (int i = 0; i < result.Count; i++)
            {
                result[i].ID = i + 1;
            }

            return result;
        }
    }
}
